package com.example.tester.dao;

import com.example.tester.entity.Student;

import java.util.List;
import java.util.Map;

/**
 * @author lzh
 * @date 2019/9/6 - 16:46
 */
public interface StudentDao {


    int add(Student student);


    int add2(Student student);



    int update(Student student);

    int deleteBySno(int sno);

    List<Map<String, Object>> queryStudentsListMap();

    Student queryStudentBySno(String sno);


}
